from django.urls import path
from . import views

urlpatterns = [
    path('', views.listUser),
    path('index', views.index, name='user_index'),
    path('login', views.login, name='user_login'),
    path('post_json', views.post_json, name='user_post_json'),

    path('addUser_post', views.addUser_post, name='addUser_post'),
    path('showAllUsers', views.showAllUsers, name='showAllUsers'),
    path('queryUser', views.queryUser, name='queryUser'),
    path('listUser', views.listUser, name='listUser'),
    path('addUser', views.addUser, name='addUser'),
    path('editUser/<int:user_id>', views.editUser, name='editUser'),
    path('deleteUser/<int:user_id>/', views.deleteUser, name='deleteUser'),
]
